package com.yixun.lbx.mapper.farm;

import com.yixun.lbx.entity.YxProBreedMedication;

import java.util.HashMap;
import java.util.List;

public interface BreedMedicationMapper {
    int deleteByPrimaryKey(HashMap<String, Object> map);

    int insert(YxProBreedMedication record);

    int insertSelective(HashMap<String, Object> map);

    YxProBreedMedication selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HashMap<String, Object> map);

    int updateByPrimaryKey(YxProBreedMedication record);

    Integer getCount(HashMap<String, Object> map);

    List<YxProBreedMedication> getListByPage(HashMap<String, Object> map);

    List<YxProBreedMedication> getObjByArgs(YxProBreedMedication medication);

    List<YxProBreedMedication> getSearchListByPage(HashMap<String, String> map);
}